When mounting a file system manually, add the -o discard mount option: # mount -o discard device mount-point. mount -o discard device mount-point. Copy. Copied ...
The purpose is to allow usage of the TRIM command, which allows SSD garbage collection to better wear-level the flash memory, lengthening the life of the chips.
I tried to turn off TRIM (discard) on my ext4 filesystem, but I did not succeed. I tried to add nodiscard option into /etc/fstab , but I can still see this.
If the filesystem is mounted with discard, then deleting files will automatically cause the TRIM command to be issued. This often has a negative performance ...